package com.zzyl.nursing.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author gjj
 */
public class UserLoginDTO {
    @ApiModelProperty("临时登录凭证")
    private String code;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("临时手机号凭证")
    private String phoneCode;

    public UserLoginDTO() {
    }

    public UserLoginDTO(String code, String nickName, String phoneCode) {
        this.code = code;
        this.nickName = nickName;
        this.phoneCode = phoneCode;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhoneCode() {
        return phoneCode;
    }

    public void setPhoneCode(String phoneCode) {
        this.phoneCode = phoneCode;
    }

    @Override
    public String toString() {
        return "UserLoginDTO{" +
                "code='" + code + '\'' +
                ", nickName='" + nickName + '\'' +
                ", phoneCode='" + phoneCode + '\'' +
                '}';
    }
}
